package edu.nyp.locationservicesapp.utils.retrofit;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Describe:
 * User:Gaolei  gurecn@gmail.com
 * Date:2018/8/1
 * I'm glad to share my knowledge with you all.
 */
public interface GoogleMapApi {
    @GET("/maps/api/place/nearbysearch/json")
    Call<GooglePoiBean> listRepos(@Query("location") String location,
                                  @Query("radius") int radius,
                                  @Query("name") String name,
                                  @Query("key") String key);
}
